<template>
  <div>
    <Table :columns="rowColumns" :data="rows" :has-permissions="hasPermissions" highlight-row size="small" :max-height="500"> </Table>
  </div>
</template>

<script>
import { taskChildColumns } from '@/views/transfer/job/components/config'
import permission from '@/directive/permission/index.js'
export default {
  name: 'TaskExpand',
  components: {},
  directives: { permission },
  props: {
    rows: {
      type: Array,
      required: true
    },
    hasPermissions: {
      type: Boolean,
      default() {
        return false
      }
    }
  },
  data() {
    return {
      loading: false,
      rowMaxHeight: 1500,
      rowPagination: false,
      rowData: {},
      rowColumns: []
    }
  },
  created() {
    this.rowColumns = taskChildColumns(this)
  },
  methods: {}
}
</script>

<style scoped>
</style>
